import Back from "@/components/Back";
import { styled } from "styledfc";
interface HeaderProps {
    img: string;
}
export default function Header(props: HeaderProps) {
    return (
        <div className={headerStyle.className}>
            <Back />
            <div className="header__img">
                <img src={props.img} alt="" />
            </div>
        </div>
    );
}
const headerStyle = styled({
    height: "347rem",
    backgroundColor: "lightblue",
    position: "relative",
    ".header__img": {
        height: "100%",
        ">img": {
            height: "100%",
            width: "100%",
            objectFit: "cover",
        },
    },
});
